Ektron CMS400.Net Reference
The following is an example of using code behind, and a drag and drop Collection server control to display random content from a collection.
Note: In this example, the Random and GetHtml properties must be set to True.
Dim str As String str = "<h1>Hello There</h1><br>" str &= Collection1.EkItems(0).Html Collection1.Text = str